﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using VMDS.Business.Entities;

namespace VMDS.Services.Contracts
{

    [DataContract]
    [KnownType(typeof(OS))]
    [KnownType(typeof(Subject))]
    
    public class CommonDTO
    {
        [DataMember]
        public List<VmDTO> Data { get; set; }

    
        [DataMember]
        public List<Subject> Subjects { get; set; }

        [DataMember]
        public List<OS> OperatingSystems { get; set; }

    }
    [DataContract]
    [KnownType(typeof(VM))]
    [KnownType(typeof(ScreenShot))]
    public class VmDTO
    {
        [DataMember]
        public VM Mashine { get; set; }
        [DataMember]
        public List<ScreenShot> ScreenShots { get; set; }
        [DataMember]
        public VmState State { get; set; }
    }

    [DataContract]
    public class TaskDTO
    {
        public List<ClientPC> ClientPCs { get; set; } 


    }

}
